function checkspace(cbo){//danh cho san pham FD, kiem tra co them bac thang ko
	//alert(cbo.value);
	if(cbo.value=='Y'){
		document.forms['tongquat'].SPLTCNT.readOnly = false;
		document.forms['tongquat'].SPLTCNT.value = "1";
	}else{
		document.forms['tongquat'].SPLTCNT.readOnly = true;
		document.forms['tongquat'].SPLTCNT.value = 0;
		document.forms['tongquat'].SPLTCNT.focus();
	}	
}
function checkoption(cbo){//danh cho san pham FD, kiem tra co them bac thang ko
	//alert(cbo.value);
	if(cbo.value=='Y'){
		document.forms['tongquat'].ADD_SPLTCNT.readOnly = false;
		document.forms['tongquat'].ADD_SPLTCNT.value = "1";
	}else{
		document.forms['tongquat'].ADD_SPLTCNT.readOnly = true;
		document.forms['tongquat'].ADD_SPLTCNT.value = 0;
		document.forms['tongquat'].ADD_SPLTCNT.focus();
	}	
}